package com.itheima.tlias84.Service;

import com.itheima.tlias84.Po.InsertStudentParam;
import com.itheima.tlias84.Po.SelectStudentPageParam;
import com.itheima.tlias84.Util.ResultUtil;
import com.itheima.tlias84.dto.SelectStudentDTO;
import com.itheima.tlias84.dto.SelectStudentDegreeDataDTO;
import com.itheima.tlias84.entity.Student;

import java.util.List;

public interface StudentService  {

    SelectStudentDTO selectStudentById(Integer id);

    ResultUtil selectStudentByPage(SelectStudentPageParam param);

   int insertStudent(InsertStudentParam param);


    int deleteById(Integer id);

   ResultUtil updateStudentById(Student student);

   // int updateStudentViolation(@Param("s") UpdateStudentViolationParam param);

    int updateStudentViolation(Integer id, Integer score);

    List<SelectStudentDegreeDataDTO> selectStudentDegreeData();

   ResultUtil selectStudentCount();



}
